package hibernate;

import java.util.HashSet;
import java.util.Set;

/**
 * MyRole entity. @author MyEclipse Persistence Tools
 */

public class MyRole implements java.io.Serializable {

	// Fields

	private Integer roleId;
	private String roleName;
	private Short addOneUserAble;
	private Short addManyUsersAble;
	private Short deleteOneUserAble;
	private Short deleteManyUsersAble;
	private Short modifyUserAble;
	private Short viewUserAble;
	private Short addOneHouseAble;
	private Short addManyHousesAble;
	private Short deleteOneHouseAble;
	private Short deleteManyHousesAble;
	private Short modifyHouseAble;
	private Short viewHouseAble;
	private Short addOneOrderAble;
	private Short addManyOrdersAble;
	private Short deleteOneOrderAble;
	private Short deleteManyOrdersAble;
	private Short modifyOrderAble;
	private Short viewOrderAble;
	private Short tenantAble;
	private Short ownerAble;
	private Short commentAble;
	private Short exitHouseAble;
	private Set userInfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public MyRole() {
	}

	/** minimal constructor */
	public MyRole(Integer roleId, Short addOneUserAble, Short addManyUsersAble,
			Short deleteOneUserAble, Short deleteManyUsersAble,
			Short modifyUserAble, Short viewUserAble, Short addOneHouseAble,
			Short addManyHousesAble, Short deleteOneHouseAble,
			Short deleteManyHousesAble, Short modifyHouseAble,
			Short viewHouseAble, Short addOneOrderAble,
			Short addManyOrdersAble, Short deleteOneOrderAble,
			Short deleteManyOrdersAble, Short modifyOrderAble,
			Short viewOrderAble, Short tenantAble, Short ownerAble,
			Short commentAble, Short exitHouseAble) {
		this.roleId = roleId;
		this.addOneUserAble = addOneUserAble;
		this.addManyUsersAble = addManyUsersAble;
		this.deleteOneUserAble = deleteOneUserAble;
		this.deleteManyUsersAble = deleteManyUsersAble;
		this.modifyUserAble = modifyUserAble;
		this.viewUserAble = viewUserAble;
		this.addOneHouseAble = addOneHouseAble;
		this.addManyHousesAble = addManyHousesAble;
		this.deleteOneHouseAble = deleteOneHouseAble;
		this.deleteManyHousesAble = deleteManyHousesAble;
		this.modifyHouseAble = modifyHouseAble;
		this.viewHouseAble = viewHouseAble;
		this.addOneOrderAble = addOneOrderAble;
		this.addManyOrdersAble = addManyOrdersAble;
		this.deleteOneOrderAble = deleteOneOrderAble;
		this.deleteManyOrdersAble = deleteManyOrdersAble;
		this.modifyOrderAble = modifyOrderAble;
		this.viewOrderAble = viewOrderAble;
		this.tenantAble = tenantAble;
		this.ownerAble = ownerAble;
		this.commentAble = commentAble;
		this.exitHouseAble = exitHouseAble;
	}

	/** full constructor */
	public MyRole(Integer roleId, String roleName, Short addOneUserAble,
			Short addManyUsersAble, Short deleteOneUserAble,
			Short deleteManyUsersAble, Short modifyUserAble,
			Short viewUserAble, Short addOneHouseAble, Short addManyHousesAble,
			Short deleteOneHouseAble, Short deleteManyHousesAble,
			Short modifyHouseAble, Short viewHouseAble, Short addOneOrderAble,
			Short addManyOrdersAble, Short deleteOneOrderAble,
			Short deleteManyOrdersAble, Short modifyOrderAble,
			Short viewOrderAble, Short tenantAble, Short ownerAble,
			Short commentAble, Short exitHouseAble, Set userInfos) {
		this.roleId = roleId;
		this.roleName = roleName;
		this.addOneUserAble = addOneUserAble;
		this.addManyUsersAble = addManyUsersAble;
		this.deleteOneUserAble = deleteOneUserAble;
		this.deleteManyUsersAble = deleteManyUsersAble;
		this.modifyUserAble = modifyUserAble;
		this.viewUserAble = viewUserAble;
		this.addOneHouseAble = addOneHouseAble;
		this.addManyHousesAble = addManyHousesAble;
		this.deleteOneHouseAble = deleteOneHouseAble;
		this.deleteManyHousesAble = deleteManyHousesAble;
		this.modifyHouseAble = modifyHouseAble;
		this.viewHouseAble = viewHouseAble;
		this.addOneOrderAble = addOneOrderAble;
		this.addManyOrdersAble = addManyOrdersAble;
		this.deleteOneOrderAble = deleteOneOrderAble;
		this.deleteManyOrdersAble = deleteManyOrdersAble;
		this.modifyOrderAble = modifyOrderAble;
		this.viewOrderAble = viewOrderAble;
		this.tenantAble = tenantAble;
		this.ownerAble = ownerAble;
		this.commentAble = commentAble;
		this.exitHouseAble = exitHouseAble;
		this.userInfos = userInfos;
	}

	// Property accessors

	public Integer getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Short getAddOneUserAble() {
		return this.addOneUserAble;
	}

	public void setAddOneUserAble(Short addOneUserAble) {
		this.addOneUserAble = addOneUserAble;
	}

	public Short getAddManyUsersAble() {
		return this.addManyUsersAble;
	}

	public void setAddManyUsersAble(Short addManyUsersAble) {
		this.addManyUsersAble = addManyUsersAble;
	}

	public Short getDeleteOneUserAble() {
		return this.deleteOneUserAble;
	}

	public void setDeleteOneUserAble(Short deleteOneUserAble) {
		this.deleteOneUserAble = deleteOneUserAble;
	}

	public Short getDeleteManyUsersAble() {
		return this.deleteManyUsersAble;
	}

	public void setDeleteManyUsersAble(Short deleteManyUsersAble) {
		this.deleteManyUsersAble = deleteManyUsersAble;
	}

	public Short getModifyUserAble() {
		return this.modifyUserAble;
	}

	public void setModifyUserAble(Short modifyUserAble) {
		this.modifyUserAble = modifyUserAble;
	}

	public Short getViewUserAble() {
		return this.viewUserAble;
	}

	public void setViewUserAble(Short viewUserAble) {
		this.viewUserAble = viewUserAble;
	}

	public Short getAddOneHouseAble() {
		return this.addOneHouseAble;
	}

	public void setAddOneHouseAble(Short addOneHouseAble) {
		this.addOneHouseAble = addOneHouseAble;
	}

	public Short getAddManyHousesAble() {
		return this.addManyHousesAble;
	}

	public void setAddManyHousesAble(Short addManyHousesAble) {
		this.addManyHousesAble = addManyHousesAble;
	}

	public Short getDeleteOneHouseAble() {
		return this.deleteOneHouseAble;
	}

	public void setDeleteOneHouseAble(Short deleteOneHouseAble) {
		this.deleteOneHouseAble = deleteOneHouseAble;
	}

	public Short getDeleteManyHousesAble() {
		return this.deleteManyHousesAble;
	}

	public void setDeleteManyHousesAble(Short deleteManyHousesAble) {
		this.deleteManyHousesAble = deleteManyHousesAble;
	}

	public Short getModifyHouseAble() {
		return this.modifyHouseAble;
	}

	public void setModifyHouseAble(Short modifyHouseAble) {
		this.modifyHouseAble = modifyHouseAble;
	}

	public Short getViewHouseAble() {
		return this.viewHouseAble;
	}

	public void setViewHouseAble(Short viewHouseAble) {
		this.viewHouseAble = viewHouseAble;
	}

	public Short getAddOneOrderAble() {
		return this.addOneOrderAble;
	}

	public void setAddOneOrderAble(Short addOneOrderAble) {
		this.addOneOrderAble = addOneOrderAble;
	}

	public Short getAddManyOrdersAble() {
		return this.addManyOrdersAble;
	}

	public void setAddManyOrdersAble(Short addManyOrdersAble) {
		this.addManyOrdersAble = addManyOrdersAble;
	}

	public Short getDeleteOneOrderAble() {
		return this.deleteOneOrderAble;
	}

	public void setDeleteOneOrderAble(Short deleteOneOrderAble) {
		this.deleteOneOrderAble = deleteOneOrderAble;
	}

	public Short getDeleteManyOrdersAble() {
		return this.deleteManyOrdersAble;
	}

	public void setDeleteManyOrdersAble(Short deleteManyOrdersAble) {
		this.deleteManyOrdersAble = deleteManyOrdersAble;
	}

	public Short getModifyOrderAble() {
		return this.modifyOrderAble;
	}

	public void setModifyOrderAble(Short modifyOrderAble) {
		this.modifyOrderAble = modifyOrderAble;
	}

	public Short getViewOrderAble() {
		return this.viewOrderAble;
	}

	public void setViewOrderAble(Short viewOrderAble) {
		this.viewOrderAble = viewOrderAble;
	}

	public Short getTenantAble() {
		return this.tenantAble;
	}

	public void setTenantAble(Short tenantAble) {
		this.tenantAble = tenantAble;
	}

	public Short getOwnerAble() {
		return this.ownerAble;
	}

	public void setOwnerAble(Short ownerAble) {
		this.ownerAble = ownerAble;
	}

	public Short getCommentAble() {
		return this.commentAble;
	}

	public void setCommentAble(Short commentAble) {
		this.commentAble = commentAble;
	}

	public Short getExitHouseAble() {
		return this.exitHouseAble;
	}

	public void setExitHouseAble(Short exitHouseAble) {
		this.exitHouseAble = exitHouseAble;
	}

	public Set getUserInfos() {
		return this.userInfos;
	}

	public void setUserInfos(Set userInfos) {
		this.userInfos = userInfos;
	}

}